package com.yb.module.model.service;

import java.util.List;

import com.yb.framework.core.base.BaseService;
import com.yb.module.model.domain.ModelTemplate;

public interface ModelTemplateService extends BaseService<ModelTemplate> {
	
	Long getParentId(Long id);
	
	List<Long> getChildIds(Long id);
	
	List<Long> getAllParentIds(Long id, List<Long> parentIds);
	
	List<Long> getAllChildIds(Long id, List<Long> childIds);
	
	int insertTemplate(ModelTemplate modelTemplate);
	
	int updateTemplate(ModelTemplate modelTemplate);
	
	int deleteTemplate(Long[] ids);
}